import httpx

# url = 'http://127.0.0.1:8000/order/?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1aWQiOjF9.G12U9PfcXlNNnAC2yi59_ydWBPHmewDexWs8Jt2hc50&page=1'
# url = 'http://op.juhe.cn/onebox/exchange/currency?key=20b4bfafedccea7b5a7e0571ace2f0b3&from=USD&to=CNY'
url = 'http://127.0.0.1:8000/rankingadd/?num='
data = {
    'username': '用户名',
    'password': '用户密码',
    'addr': '地址',
    'name': '真实姓名',
    'number': '身份证号',
    'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1aWQiOjF9.G12U9PfcXlNNnAC2yi59_ydWBPHmewDexWs8Jt2hc50',
    'page': 1
}

import random
a = 0
while a!=50:
	urls = url+str(random.randint(10,100))
	text = httpx.get(urls)

	print(text.text)
	a += 1
